<%@page contentType="text/html;charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>书生图书 – 全球最受欢迎的中文网上书店</title>
<link href="/shopping/css/book.css" rel="stylesheet" type="text/css" />
<link href="/shopping/css/second.css" rel="stylesheet" type="text/css" />
<link href="/shopping/css/secBook_Show.css" rel="stylesheet"
	type="text/css" />
<link href="/shopping/css/list.css" rel="stylesheet" type="text/css" />
<link href="/shopping/css/selectIndentList.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/shopping/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/shopping/js/selectIndentList.js"></script>

</head>
<body>
	&nbsp;
	<!-- 头部开始 -->
	<%@include file="/common/head.jsp"%>
	<!-- 头部结束 -->
	<!-- 头导航条  -->
	<%@include file="/common/men.jsp"%>
	<div class='your_position'>
		您现在的位置:&nbsp; <a href="/shopping/mainAction">书生首页</a> &gt;&gt; <font
			style='color: #cc3300'><strong>我的书生</strong> </font>
	</div>


	<div class="book">
		<!--左栏开始-->
		<div id="left" class="book_left">
			<div id="__fenleiliulan">
				<div class=second_l_border2>
					<h2>分类浏览</h2>
					<ul>
						<li>
							<div>
								<div class=second_fenlei>
									<a href="/shopping/user/selectIndent">&middot;订单设置&nbsp;</a>
								</div>
							</div> <br />
						</li>
						<li>
							<div>
								<div class=second_fenlei>
									<a href="/shopping/user/selectAddress">&middot;其他设置&nbsp;</a>
								</div>
							</div> <br />
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!--左栏结束-->

		<!--中栏开始-->
		<div class="book_center">
			<!--图书列表开始-->
			<div id="divRight" class="list_right">
				<div id="book_list" class="list_r_title">
					<div class="list_r_title_text">订单信息</div>
				</div>
				<!--商品条目开始-->

				<div class="list_r_line"></div>
				<table style="width: 733px;">
					<thead>
						<tr>
							<th style="width: 260px;">订单信息</th>
							<th style="width: 60px;">收货人</th>
							<th style="width: 50px;">订单金额</th>
							<th style="width: 65px;">时间</th>
							<th>操作</th>
						</tr>
					</thead>
					<s:iterator value="indents" var="indent">
						<tbody>
							<tr>
								<td colspan="6">订单编号：${indent.id }</td>
							</tr>
							<tr>
								<td><s:iterator value="items" var="item">
										<s:if test="#item.indentId==#indent.id">
											<img src="/shopping/productImages/${item.productPic }"
												style="margin-right: 10px; height: 60px; float: left;" />
							&nbsp;
							</s:if>
									</s:iterator></td>
								<td>${indent.receiveName }</td>
								<td>${indent.totalPrice }￥</td>
								<td>${indent.indentDt }</td>
								<td><s:if test="#indent.status==0">
										<a href="/shopping/indent/indentDel?id=${indent.id }"
											id="odel">订单取消|</a>
										<a href="/shopping/indent/payIndent?id=${indent.id }"
											style="color: #f05132;">付款</a>
									</s:if> <s:elseif test="#indent.status==1">
										<a href="/shopping/indent/indentDel?id=${indent.id }"
											id="odel">订单取消|</a> 
							等待出库
							    </s:elseif> <s:elseif test="#indent.status==2">
							图书已出库
							    </s:elseif> <s:elseif test="#indent.status==3">
										<a href="/shopping/user/insertComment?indentId=${indent.id }"
											style="color: #f05132;">确认收货与评价</a>
										<a
											href="/shopping/indent/updateIndent?id=${indent.id }&status=5"
											id="otui">|申请退货</a>
									</s:elseif> <s:elseif test="#indent.status==4">
							完成！<a
											href="/shopping/indent/updateIndent?id=${indent.id }&status=5"
											id="otui">|申请退货</a>
									</s:elseif> <s:elseif test="#indent.status==5">
							等待系统审核！
							    </s:elseif> <s:elseif test="#indent.status==6">
							系统审核通过！物流通过上门向您取货！
							    </s:elseif> <s:elseif test="#indent.status==7">
							已收到你的退货！
							    </s:elseif> <s:elseif test="#indent.status==8">
							完成退货，退款将会打到你的账号里！
							    </s:elseif> <br /></td>
							</tr>
						</tbody>
					</s:iterator>
					<tfoot></tfoot>
				</table>

				<!--商品条目结束-->

				<div class="clear"></div>
				<div id="divBottomPageNavi" class="fanye_bottom"></div>

			</div>
			<!--图书列表结束-->

		</div>
		<!--中栏结束-->
		<div class="clear"></div>
	</div>

	<!--页尾开始 -->
	<%@include file="/common/foot.jsp"%>
	<!--页尾结束 -->
	<%@include file="/common/qqchat.jsp"%>
</body>
</html>
